/*
 * 文件名:COutput.h
 *
 * 	 功能描述:
 *  创建日期: 2011-1-10
 *  版本Ver0.01
 *  作者: huanying2000
 *  版权:copyright 2010 by the Camellia project 
 *  free software under the terms of the LGPL 2.1
 */

#ifndef COUTPUT_H_
#define COUTPUT_H_

#include "Globel.hpp"

class COutput
{
	public:
		COutput();
		virtual ~COutput();
		virtual int openOutput(KAudioOutput *ao) = 0;
		virtual int writeOutput(KAudioOutput *ao, unsigned char *buf, int bytes) = 0;
		virtual int closeOutput(KAudioOutput *ao) = 0;
		virtual void flushOutput(KAudioOutput *ao) = 0;
};

#endif /* COUTPUT_H_ */
